﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Logistics.DataManage.DAL
{
    public class OWaybill
    {
        /// <summary>
        /// 单号
        /// </summary>
        public string WaybillID { get; set; }
        public string Code { get; set; }
        /// <summary>
        /// 垫付
        /// </summary>
        public int Advanced { get; set; }
        /// <summary>
        /// 货物件数
        /// </summary>
        public int Numbers { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsName { get; set; }
        public string PayMode { get; set; }
        public int Longth { get; set; }
        public int Weight { get; set; }
        public int Height { get; set; }
        public int Width { get; set; }
        public int Volume { get; set; }
        public string Memo { get; set; }
        /// <summary>
        /// 签回单号
        /// </summary>
        public string BackForm { get; set; }
        /// <summary>
        /// 签回单服务费
        /// </summary>
        public string BackFormFee { get; set; }
        /// <summary>
        /// 签回单类型
        /// </summary>
        public string BackType { get; set; }
        /// <summary>
        /// 计费重量
        /// </summary>
        public int BillingWeight { get; set; }
        /// <summary>
        /// 寄方应付
        /// </summary>
        public string SendPay { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessMode { get; set; }
        /// <summary>
        /// 收货人客户编号(客户端与服务器端的客户ID不一致，这里不允许在运单中上传客户ID)
        /// </summary>
        public string ConsigneeID { get; set; }
        /// <summary>
        /// 收货人手机
        /// </summary>
        public string ConsigneeMobile { get; set; }
        /// <summary>
        /// 收货人电话
        /// </summary>
        public string ConsigneeTel { get; set; }
        /// <summary>
        /// 收货人地址
        /// </summary>
        public string ConsigneeAddress { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string Consigneeor { get; set; }

        /// <summary>
        /// 发货人
        /// </summary>
        public string Consignor { get; set; }
        /// <summary>
        /// 发货人编号(客户端与服务器端的客户ID不一致，这里不允许在运单中上传客户ID)
        /// </summary>
        //public string ConsignorID { get; set; }
        public string ConsignorTel { get; set; }
        public string ConsignorMobile { get; set; }
        public string ConsignorAddress { get; set; }
        public string ConsignorDutyID { get; set; }
        public string ConsignorCardID { get; set; }
        public string ConsignorBank { get; set; }
        /// <summary>
        /// 发货日期
        /// </summary>
        public DateTime ConsignorDate { get; set; }

        /// <summary>
        /// 收款状态,默认为空或0
        /// </summary>
        public int? CollectionState { get; set; }
        /// <summary>
        /// 货物状态，默认为1
        /// </summary>
        public int? GoodsState { get; set; }
        /// <summary>
        /// 源站点收费
        /// </summary>
        public int OriginAccept { get; set; }
        /// <summary>
        /// 目的站点收费
        /// </summary>
        public int DestinationAccept { get; set; }
        /// <summary>
        /// 预收款
        /// </summary>
        public int PreAcceptFee { get; set; }
        /// <summary>
        /// 运费
        /// </summary>
        public int Freight { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; }
        /// <summary>
        /// 开票时间
        /// </summary>
        public DateTime? KaiPiaoDate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 始发站点
        /// </summary>
        public string Origin { get; set; }
        /// <summary>
        /// 始发网点
        /// </summary>
        public string OriginNetWork { get; set; }
        /// <summary>
        /// 目的站点
        /// </summary>
        public string Destinations { get; set; }
        /// <summary>
        /// 目的网点
        /// </summary>
        public string DestinationsNetwork { get; set; }
        /// <summary>
        /// 代收款
        /// </summary>
        public int CollectionFee { get; set; }
        /// <summary>
        /// 代收款服务费
        /// </summary>
        public int CollectionServicesFee { get; set; }
        /// <summary>
        /// 包装形式
        /// </summary>
        public string PackageType { get; set; }
        /// <summary>
        /// 服务类型
        /// </summary>
        public string ServicesMode { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool IsUsed { get; set; }
        /// <summary>
        /// 送货费
        /// </summary>
        public int DeliveryCharges { get; set; }
        /// <summary>
        /// 转寄地
        /// </summary>
        public string ForwardAddress { get; set; }
        /// <summary>
        /// 转寄费
        /// </summary>
        public int ForwardFee { get; set; }
        /// <summary>
        /// 转寄公司
        /// </summary>
        public string ForwardCompany { get; set; }
        /// <summary>
        /// 保价费
        /// </summary>
        public int InsuranceFee { get; set; }
        /// <summary>
        /// 保价服务费
        /// </summary>
        public int InsuredServicesFee { get; set; }
        /// <summary>
        /// 等通知派送
        /// </summary>
        public bool NoteDelivery { get; set; }
        /// <summary>
        /// 等通知服务费
        /// </summary>
        public int NoteDeliveryFee { get; set; }
        /// <summary>
        /// 应收代款
        /// </summary>
        public int OrderAcceptFee { get; set; }

        /// <summary>
        /// 货物价值 的源站点收(目的站收) 
        /// </summary>
        public string Column1 { get; set; }
        /// <summary>
        /// 送货费 的 的源站点收(目的站收) 
        /// </summary>
        public string Column2 { get; set; }
        /// <summary>
        /// 收货员工
        /// </summary>
        public string Column3 { get; set; }

        //新加
        public int presendfee { get; set; }
        public int packagefee { get; set; }
        public int packagenumber { get; set; }
        public string carstate { get; set; }

        public string collectionstate { get; set; }
        public string returnstate { get; set; }
        public string sendstate { get; set; }
        public string prestate { get; set; }

        public int realweight { get; set; }
        public int sendpay { get; set; }

        public int shifakuan { get; set; }
        public int shishoudaikuan { get; set; }
        public string fashouxufei { get; set; }
    }
}
